package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.util.Date;
import java.math.BigDecimal;


@Table(name = "t_goods")
public class Goods extends BaseEntity {

    private Integer id;
    /**
     * 商品名称
     **/
    private String name;
    /**
     * 价格
     **/
    private BigDecimal price;
    /**
     * 餐盒费
     **/
    private BigDecimal boxPrice;
    private String headPic;
    /**
     * 商品图片
     **/
    private String images;
    /**
     * 月售
     **/
    private Integer monthSales;
    /**
     * 状态
     **/
    private Integer status;
    /**
     * 是否上架
     **/
    private Integer isUpper;
    /**
     * 创建时间
     **/
    private Date created;
    /**
     * 商家编号
     **/
    private Integer companyId;
    /**
     * 库村
     **/
    private Integer stock;
    /**
     * 城市编号
     **/
    private Integer cityId;
    /**
     * 商品详情
     **/
    private String goodsDetail;
    /**
     * 商品分类
     **/
    private Integer goodsTypeId;
    /**
     * 单位
     **/
    private String unit;
    /**
     * 0否 1是
     **/
    private Integer isJoin;
    private Integer allSaleNum;
    /**
     * 商品
     **/
    private Integer orderNum;
    private Integer historyId;
    /**
     * 特价到期时间
     **/
    private Date expirationTime;
    /**
     * 背景图
     **/
    private String bannerImages;
    /**
     * 是否可以预约
     **/
    private Integer isBespeak;
    /**
     * 是否无理由退货
     **/
    private Integer isNoReasonReturn;
    /**
     * 是否发票
     **/
    private Integer isInvoice;
    /**
     * 是否免费
     **/
    private Integer isFree;
    /**
     * 推荐语
     **/
    private String groom;
    /**
     * 商品活动
     */
    private String commercialActivities;
    /**
     * 商品活动
     */
    private String goodsVideo;
    /**
     * 商品活动
     */
    private String goodsVideoImg;
    /**
     * 是否特价
     **/
    private Integer isSpecial;
    /**
     * 是否上门服务
     */
    private Integer isHomeInstallation;
    /**
     * 特价商品数量
     */
    private Integer discountNumber;
    /**
     * 特价商品的金额
     */
    private BigDecimal discountMoney;

    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 商品名称
     **/
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 价格
     **/
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * 餐盒费
     **/
    public BigDecimal getBoxPrice() {
        return boxPrice;
    }

    public void setBoxPrice(BigDecimal boxPrice) {
        this.boxPrice = boxPrice;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    /**
     * 商品图片
     **/
    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    /**
     * 月售
     **/
    public Integer getMonthSales() {
        return monthSales;
    }

    public void setMonthSales(Integer monthSales) {
        this.monthSales = monthSales;
    }

    /**
     * 状态
     **/
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 是否上架
     **/
    public Integer getIsUpper() {
        return isUpper;
    }

    public void setIsUpper(Integer isUpper) {
        this.isUpper = isUpper;
    }

    /**
     * 创建时间
     **/
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    /**
     * 商家编号
     **/
    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    /**
     * 库村
     **/
    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    /**
     * 城市编号
     **/
    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    /**
     * 商品详情
     **/
    public String getGoodsDetail() {
        return goodsDetail;
    }

    public void setGoodsDetail(String goodsDetail) {
        this.goodsDetail = goodsDetail;
    }

    /**
     * 商品分类
     **/
    public Integer getGoodsTypeId() {
        return goodsTypeId;
    }

    public void setGoodsTypeId(Integer goodsTypeId) {
        this.goodsTypeId = goodsTypeId;
    }

    /**
     * 单位
     **/
    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    /**
     * 0否 1是
     **/
    public Integer getIsJoin() {
        return isJoin;
    }

    public void setIsJoin(Integer isJoin) {
        this.isJoin = isJoin;
    }

    public Integer getAllSaleNum() {
        return allSaleNum;
    }

    public void setAllSaleNum(Integer allSaleNum) {
        this.allSaleNum = allSaleNum;
    }

    /**
     * 商品
     **/
    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getHistoryId() {
        return historyId;
    }

    public void setHistoryId(Integer historyId) {
        this.historyId = historyId;
    }

    /**
     * 特价到期时间
     **/
    public Date getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(Date expirationTime) {
        this.expirationTime = expirationTime;
    }

    /**
     * 背景图
     **/
    public String getBannerImages() {
        return bannerImages;
    }

    public void setBannerImages(String bannerImages) {
        this.bannerImages = bannerImages;
    }

    /**
     * 是否可以预约
     **/
    public Integer getIsBespeak() {
        return isBespeak;
    }

    public void setIsBespeak(Integer isBespeak) {
        this.isBespeak = isBespeak;
    }

    /**
     * 是否无理由退货
     **/
    public Integer getIsNoReasonReturn() {
        return isNoReasonReturn;
    }

    public void setIsNoReasonReturn(Integer isNoReasonReturn) {
        this.isNoReasonReturn = isNoReasonReturn;
    }

    /**
     * 是否发票
     **/
    public Integer getIsInvoice() {
        return isInvoice;
    }

    public void setIsInvoice(Integer isInvoice) {
        this.isInvoice = isInvoice;
    }

    /**
     * 是否免费
     **/
    public Integer getIsFree() {
        return isFree;
    }

    public void setIsFree(Integer isFree) {
        this.isFree = isFree;
    }

    /**
     * 推荐语
     **/
    public String getGroom() {
        return groom;
    }

    public void setGroom(String groom) {
        this.groom = groom;
    }

    /**
     * 是否特价
     **/
    public Integer getIsSpecial() {
        return isSpecial;
    }

    public void setIsSpecial(Integer isSpecial) {
        this.isSpecial = isSpecial;
    }

    public Integer getIsHomeInstallation() {
        return isHomeInstallation;
    }

    public void setIsHomeInstallation(Integer isHomeInstallation) {
        this.isHomeInstallation = isHomeInstallation;
    }

    public String getCommercialActivities() {
        return commercialActivities;
    }

    public void setCommercialActivities(String commercialActivities) {
        this.commercialActivities = commercialActivities;
    }

    public String getGoodsVideo() {
        return goodsVideo;
    }

    public void setGoodsVideo(String goodsVideo) {
        this.goodsVideo = goodsVideo;
    }

    public String getGoodsVideoImg() {
        return goodsVideoImg;
    }

    public void setGoodsVideoImg(String goodsVideoImg) {
        this.goodsVideoImg = goodsVideoImg;
    }

    public Integer getDiscountNumber() {
        return discountNumber;
    }

    public void setDiscountNumber(Integer discountNumber) {
        this.discountNumber = discountNumber;
    }

    public BigDecimal getDiscountMoney() {
        return discountMoney;
    }

    public void setDiscountMoney(BigDecimal discountMoney) {
        this.discountMoney = discountMoney;
    }
}